Skip to content

Implement EVPN Fabric overlay BGP reconciliation - #452

Open
felix-kaestner wants to merge 1 commit into
fabric-underlayfrom
fabric-overlay
Open

Implement EVPN Fabric overlay BGP reconciliation#452
felix-kaestner wants to merge 1 commit into
fabric-underlayfrom
fabric-overlay

Conversation

@felix-kaestner

Copy link
Copy Markdown
Contributor

Add a reconcileOverlayBGP phase that creates BGP instances on all fabric devices and BGPPeer resources per route reflector group.

BGP instances are configured with the shared iBGP ASN, router-ID from lo0, and L2VPN EVPN with retainAll enabled. For RR-to-client groups, spine→leaf peers are marked as route reflector clients. When deviceSelector equals clientDeviceSelector, a full mesh is created instead.

Remove the scaffolded stub test that fails CRD validation and suppress the nilnil lint on the not-ready-yet return path.

Add a reconcileOverlayBGP phase that creates BGP instances on all
fabric devices and BGPPeer resources per route reflector group.

BGP instances are configured with the shared iBGP ASN, router-ID
from lo0, and L2VPN EVPN with retainAll enabled. For RR-to-client
groups, spine→leaf peers are marked as route reflector clients.
When deviceSelector equals clientDeviceSelector, a full mesh is
created instead.

Remove the scaffolded stub test that fails CRD validation and
suppress the nilnil lint on the not-ready-yet return path.

Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/internal/controller/evpn 81.53% (+81.53%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller.go 81.53% (+81.53%) 471 (+409) 384 (+384) 87 (+25) 🌟

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant